package com.sl.mes.db.service.mm;

import com.sl.mes.db.dao.MmProconWrMapper;
import com.sl.mes.db.itf.mm.IMmProconWr;
import com.sl.mes.db.vo.MmProconWr;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MmProconWrDaoService implements IMmProconWr {

    @Resource
    private MmProconWrMapper mmProconWrMapper;

    @Override
    public MmProconWr findVoById(String cid) {
        return mmProconWrMapper.selectByPrimaryKey(cid);
    }

    @Override
    public int addMmProconWr(MmProconWr mmProconWr) {
        return mmProconWrMapper.insert(mmProconWr);
    }
}
